  -- Halazzi --
function spell0_23577(pUnit, Event) --@Earth Shock,n/a--
pUnit:FullCastSpellOnTarget(43305,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_23577', 4000, 1)
end
function spell1_23577(pUnit, Event) --@Enrage,n/a--
pUnit:FullCastSpellOnTarget(43139,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_23577', 6360, 1)
end
function spell2_23577(pUnit, Event) --@Flame Shock,n/a--
pUnit:FullCastSpellOnTarget(43303,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_23577', 12000, 1)
end
function spell3_23577(pUnit, Event) --@Lightning Totem,n/a--
pUnit:FullCastSpellOnTarget(43302,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_23577', 500, 1)
end
function spell4_23577(pUnit, Event) --@Saber Lash,n/a--
pUnit:FullCastSpellOnTarget(43267,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_23577', 813, 1)
end
function spell5_23577(pUnit, Event) --@Transfigure,Heal--
pUnit:FullCastSpellOnTarget(44054,pUnit)
pUnit:RegisterEvent('Sorts_23577', 0, 1)
end
function Sorts_23577(pUnit, Event)
choix_sorts_23577 = math.random(0, 5)
if choix_sorts_23577 == 0 then
pUnit:RegisterEvent('spell0_23577', 1, 1)
end
if choix_sorts_23577 == 1 then
pUnit:RegisterEvent('spell1_23577', 1, 1)
end
if choix_sorts_23577 == 2 then
pUnit:RegisterEvent('spell2_23577', 1, 1)
end
if choix_sorts_23577 == 3 then
pUnit:RegisterEvent('spell3_23577', 1, 1)
end
if choix_sorts_23577 == 4 then
pUnit:RegisterEvent('spell4_23577', 1, 1)
end
if choix_sorts_23577 == 5 then
pUnit:RegisterEvent('spell5_23577', 1, 1)
end
end
function mob23577_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_23577', math.random(1500, 3000), 1)
end
function mob23577_Leave(pUnit, Event)
end
function mob23577_Kill(pUnit, Event)
end
function mob23577_Die(pUnit, Event)
pUnit:RemoveEvents();
end
RegisterUnitEvent(23577, 1, 'mob23577_Action')
RegisterUnitEvent(23577, 2, 'mob23577_Leave')
RegisterUnitEvent(23577, 3, 'mob23577_Kill')
RegisterUnitEvent(23577, 4, 'mob23577_Die')
